#define _CRT_SECURE_NO_WARNINGS 2

#include"string.h"
void test1() {
	S::string s("hello linuxfjskadfaskfasdfds");
	S::string s1;
	s1 = s;
	//s.clear();
	cout << s.capacity() << endl<<s1.capacity()<<endl;
	cout << s1 << endl;
	cin >> s;
	cout << s << endl;
	cout << s.size() <<s[6]<< endl;
}

int main() {
	//string s("hello");
	//strlen(s);error
	test1();
	//cout << sizeof(int) << endl << sizeof(size_t) << endl;
	return 0;
}
